/* ============================================================
   Projectra — Public / Marketing & Auth stylesheet
   Used by: index.html, news.html, pricing.html,
            welcome.html, sign-in.html, create-workspace.html, workspaces.html
   Keep separate from css/app.css (private workspace app styles).
   ============================================================ */

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

:root {
  --pub-green: #00e58d;
  --pub-green-dark: #00c278;
  --pub-green-deep: #00664e;
  --pub-green-mid: #00875a;
  --pub-ink: #121417;
  --pub-text: #1a1d23;
  --pub-muted: #4a5560;
  --pub-muted-2: #5e6a72;
  --pub-border: #dce3e7;
  --pub-bg: #f3f6f8;
  --pub-bg-soft: #f3f6f8;
  --pub-card: #ffffff;
  --pub-radius-sm: 12px;
  --pub-radius: 20px;
  --pub-radius-lg: 28px;
  --pub-shadow: 0 1px 2px rgba(18, 20, 23, 0.04), 0 18px 40px rgba(18, 20, 23, 0.06);
  --pub-shadow-sm: 0 1px 3px rgba(18, 20, 23, 0.05);
  --pub-shadow-hero: 0 28px 64px rgba(18, 20, 23, 0.1), 0 8px 20px rgba(0, 102, 78, 0.06);
  --pub-glow:
    0 42px 107px rgba(0, 229, 141, 0.34),
    0 25px 32px rgba(0, 229, 141, 0.19),
    0 10px 13px rgba(0, 229, 141, 0.22),
    0 4px 5px rgba(0, 229, 141, 0.15);
  /* Mobile hero/CTA — Login-proportional soft glow (no huge diffuse halo) */
  --pub-glow-mobile:
    0 8px 18px rgba(0, 229, 141, 0.26),
    0 4px 8px rgba(0, 229, 141, 0.18),
    0 2px 4px rgba(0, 229, 141, 0.14);
  --pub-max: 1176px;
  --pub-feat-aspect: 584 / 538;
  --pub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.pub-body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--pub-bg);
  color: var(--pub-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--pub-green-deep);
  outline-offset: 3px;
}

.btn:focus:not(:focus-visible),
.pub-nav-toggle:focus:not(:focus-visible),
.feature-mini-card:focus:not(:focus-visible),
.feature-slider-dots button:focus:not(:focus-visible) {
  outline: none;
}

.pub-inline-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  margin-right: 0.2em;
}

.pub-container {
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ── decorative blobs ───────────────────────────────────── */
.pub-blob {
  position: absolute;
  width: 380px;
  height: 260px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.pub-blob-green { background: #6ff0b7; }
.pub-blob-blue { background: #9fd6ff; }

/* ── buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s var(--pub-ease),
    transform 0.2s var(--pub-ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  position: relative;
  isolation: isolate;
  color: var(--pub-ink);
  border-color: rgba(255, 255, 255, 0.85);
  background-color: #00e58d;
  background-image:
    url("../images/btn-noise.webp"),
    linear-gradient(180deg, #00e58d 0%, #00c278 100%);
  background-size: 128px 128px, auto;
  background-position: center, center;
  background-blend-mode: soft-light, normal;
  background-clip: padding-box;
  box-shadow: var(--pub-glow);
  color: var(--pub-ink);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 18px #d9fff0, inset 0 1px 4px #d9fff0;
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover {
  background-color: #14f09a;
  background-image:
    url("../images/btn-noise.webp"),
    linear-gradient(180deg, #14f09a 0%, #00c278 100%);
  color: var(--pub-ink);
  transform: translateY(-2px);
  box-shadow:
    0 48px 120px rgba(0, 229, 141, 0.4),
    0 28px 36px rgba(0, 229, 141, 0.22),
    0 12px 16px rgba(0, 229, 141, 0.2);
}

.btn-glow {
  isolation: isolate;
}

.btn-text {
  background: transparent;
  color: var(--pub-ink);
  border-color: transparent;
  font-weight: 500;
  box-shadow: none;
  height: 44px;
  padding: 0 14px;
}
.btn-text:hover {
  color: var(--pub-green-deep);
  transform: none;
  box-shadow: none;
}

.btn-demo {
  background: var(--pub-bg-soft);
  color: var(--pub-ink);
  border-color: var(--pub-border);
  font-weight: 500;
}
.btn-demo:hover {
  border-color: #c8d2d8;
  background: #eef2f4;
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--pub-ink);
  border-color: var(--pub-border);
}
.btn-outline:hover {
  border-color: var(--pub-green-deep);
  color: var(--pub-green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 78, 0.08);
}

.btn-hero-cta {
  height: 66px;
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 52px;
}

.btn-dark {
  background: var(--pub-ink);
  color: #fff;
}
.btn-dark:hover { background: #000; color: #fff; }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-white {
  background: #fff;
  color: var(--pub-green-deep);
}
.btn-white:hover { background: #eafff5; }

.btn-sm { height: 44px; padding: 0 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ── eyebrow badge pill ─────────────────────────────────── */
.pub-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  color: var(--pub-ink);
  font-size: 1rem;
  font-weight: 400;
  box-shadow:
    inset -1px -3px 9px rgba(255, 255, 255, 0.9),
    inset 0.75px 3px 8px rgba(209, 255, 224, 0.43),
    9px 14px 2px rgba(209, 255, 224, 0.13);
}
.pub-eyebrow-glass {
  background-image: linear-gradient(
    172deg,
    rgba(255, 255, 255, 0.18) 11%,
    rgba(248, 250, 255, 0.48) 39%,
    rgba(245, 248, 255, 0.54) 61%,
    rgba(255, 255, 255, 0.12) 96%
  );
  backdrop-filter: blur(1px);
}
.pub-eyebrow i { color: var(--pub-green); }

/* ============================================================
   NAVBAR
   ============================================================ */
.pub-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(243, 246, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: none;
}
/* Three-zone header: equal side tracks keep Home/News/Pricing optically centered
   even when logo width ≠ SignUp+Login width (Figma 1050:18350). */
.pub-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  min-height: 88px;
  padding: 14px 0;
}
.pub-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  grid-column: 1;
  justify-self: start;
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--pub-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}
.pub-logo img { width: 27px; height: auto; }

.pub-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  grid-column: 2;
  justify-self: center;
  z-index: 1;
}
.pub-nav-links a {
  position: relative;
  text-decoration: none;
  color: #3d4a57;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 24px;
  padding-bottom: 4px;
}
.pub-nav-links a:hover { color: var(--pub-green-deep); }
.pub-nav-links a.active,
.pub-nav-links a.is-active,
.pub-nav-links a[aria-current="page"] {
  color: var(--pub-ink);
  font-weight: 500;
}
/* Short left-aligned brand-green dash under the active page link */
.pub-nav-links a.active::after,
.pub-nav-links a.is-active::after,
.pub-nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 2.5px;
  background: var(--pub-green);
  border-radius: 999px;
  transform: none;
}

.pub-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  grid-column: 3;
  justify-self: end;
  z-index: 1;
}
/* Figma SignUp ghost — thin #dce3e7 border, page-tint fill, pill */
.pub-nav-actions .btn-nav-signup {
  height: 59px;
  padding: 0 27px;
  font-size: 0.89rem;
  font-weight: 400;
  color: var(--pub-ink);
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: 999px;
  box-shadow: none;
}
.pub-nav-actions .btn-nav-signup:hover {
  background: #eef2f4;
  border-color: #c8d2d8;
  color: var(--pub-ink);
  transform: none;
  box-shadow: none;
}
/* Login — green glow; dark label for WCAG contrast on #00e58d */
.pub-nav-actions .btn-primary {
  height: 59px;
  min-width: 97px;
  padding: 0 18px;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--pub-ink);
  box-shadow:
    0 37px 95px rgba(0, 229, 141, 0.34),
    0 22px 29px rgba(0, 229, 141, 0.19),
    0 9px 12px rgba(0, 229, 141, 0.22),
    0 3px 4px rgba(0, 229, 141, 0.15);
}
.pub-nav-actions .btn-primary:hover {
  color: var(--pub-ink);
}

.pub-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--pub-border);
  background: #fff;
  font-size: 1.15rem;
  color: var(--pub-ink);
  cursor: pointer;
}
.pub-nav-toggle-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  pointer-events: none;
}

.pub-nav-mobile-cta {
  display: none;
  align-items: center;
  gap: 13px;
  grid-column: 3;
  justify-self: end;
  position: relative;
  z-index: 1;
}
.pub-nav-mobile-cta .btn-nav-login {
  height: 46px;
  min-width: 77px;
  padding: 0 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pub-ink);
}
.pub-nav-mobile-cta .btn-nav-login:hover {
  color: var(--pub-ink);
}

/* Mobile dropdown card — closed by default (desktop never shows) */
.pub-nav-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 220;
  width: 202px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 18px;
  box-shadow:
    0 18px 48px rgba(18, 20, 23, 0.1),
    0 6px 16px rgba(18, 20, 23, 0.06);
}
.pub-nav-mobile a {
  display: block;
  padding: 0;
  text-decoration: none;
  color: #3d4a57;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.4px;
  border-radius: 0;
}
/* Figma link stack gap: 32px between Home / News / Pricing */
.pub-nav-mobile > a:not(.pub-nav-mobile-signup) + a:not(.pub-nav-mobile-signup) {
  margin-top: 32px;
}
.pub-nav-mobile a:hover {
  color: var(--pub-ink);
  background: transparent;
}
.pub-nav-mobile > a:not(.pub-nav-mobile-signup).active,
.pub-nav-mobile > a:not(.pub-nav-mobile-signup).is-active,
.pub-nav-mobile > a:not(.pub-nav-mobile-signup)[aria-current="page"] {
  position: relative;
  color: var(--pub-ink);
  font-weight: 500;
  padding-bottom: 4px;
}
.pub-nav-mobile > a:not(.pub-nav-mobile-signup).active::after,
.pub-nav-mobile > a:not(.pub-nav-mobile-signup).is-active::after,
.pub-nav-mobile > a:not(.pub-nav-mobile-signup)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 2.5px;
  background: var(--pub-green);
  border-radius: 999px;
  transform: none;
}
.pub-nav-mobile a.pub-nav-mobile-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 18px;
  padding: 0 27px;
  border-radius: 999px;
  border: 1px solid #dce3e7;
  background: #f3f6f8;
  color: var(--pub-ink);
  font-size: 0.89rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.pub-nav-mobile a.pub-nav-mobile-signup:hover {
  background: #eef2f4;
  color: var(--pub-ink);
}

.pub-nav.is-open .pub-nav-mobile { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.pub-hero {
  position: relative;
  padding: 72px 0 0;
  text-align: center;
  /* overflow-x:hidden + overflow-y:visible → y becomes auto = 2nd scrollbar */
  overflow: visible;
  background: var(--pub-bg);
}
.pub-hero .pub-container {
  position: relative;
  z-index: 2;
}
.pub-hero .pub-blob-green {
  top: -80px;
  left: 42%;
  transform: translateX(-50%);
  opacity: 0.35;
  height: 220px;
  max-height: 220px;
}
.pub-hero .pub-blob-blue {
  top: -20px;
  right: -60px;
  opacity: 0.2;
  height: 200px;
  max-height: 200px;
}

.pub-hero-title {
  position: relative;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 780px;
  margin: 22px auto 18px;
  color: var(--pub-ink);
}
.pub-hero-sub {
  position: relative;
  max-width: 656px;
  margin: 0 auto 28px;
  color: var(--pub-muted);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 400;
}
.pub-hero-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  z-index: 2;
}
.pub-hero-actions .btn-demo {
  height: 66px;
  padding: 0 30px;
  font-size: 1rem;
  border-radius: 70px;
}

.pub-hero-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: -4px auto 0;
  padding: 0;
  z-index: 1;
  border: 0;
  box-shadow: none;
  background: var(--pub-bg);
  outline: none;
  /* Visible so mockup corners aren't clipped; page uses overflow-x: clip */
  overflow: visible;
}
.pub-hero-media {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
  transform: none;
  transform-origin: center top;
  border: 0;
  outline: none;
  background: var(--pub-bg);
}
.pub-hero-media::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 141, 0.22), transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.pub-hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 -2% 0;
  height: 36%;
  background: linear-gradient(to bottom, transparent, rgba(243, 246, 248, 0.9) 70%, var(--pub-bg));
  z-index: 2;
  pointer-events: none;
}
.pub-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  background: var(--pub-bg);
}
.pub-hero-media picture {
  display: block;
  width: 100%;
  aspect-ratio: 2880 / 2327;
}

/* ============================================================
   SECTION HEAD (eyebrow + title + sub, centered)
   ============================================================ */
.pub-section { padding: 80px 0; position: relative; }
.pub-section-tight { padding: 56px 0 80px; }
.pub-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.pub-section-head .pub-eyebrow { margin-bottom: 14px; }
.pub-section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 12px;
}
.pub-section-head p {
  color: #4a5560;
  font-size: 1.05rem;
}

/* ============================================================
   "Stop juggling tools" — tabbed showcase (Figma 873:6226)
   Panel 1090×656 · tabs ~493 · media 535×613 · gap 12 / 22
   ============================================================ */
.tools-panel {
  display: grid;
  grid-template-columns: minmax(0, 493fr) minmax(0, 535fr);
  gap: 22px;
  align-items: stretch;
  background: #fff;
  border: 0;
  border-radius: 34px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(18, 20, 23, 0.04), 0 18px 40px rgba(18, 20, 23, 0.06);
  max-width: 1090px;
  margin: 0 auto;
}
.feature-mini-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  min-height: 0;
}
.feature-mini-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  padding: 20px 18px;
  border-radius: 24px;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.25s var(--pub-ease);
}
.feature-mini-card:hover { background: #f7f7f7; }
.feature-mini-card.is-active { background: #fafafa; }
.feature-mini-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  color: #121417;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  margin-top: 2px;
}
.feature-mini-icon img {
  width: 20px;
  height: 20px;
  display: block;
}
.feature-mini-card h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 600;
  color: #000;
  margin: 0;
}
.feature-mini-card p {
  font-size: 1rem;
  line-height: 1.35;
  color: #4a5560;
  margin: 10px 0 0;
}
.feature-mini-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}
.tools-panel-media {
  border-radius: 34px;
  overflow: hidden;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 535 / 613;
  height: auto;
  min-height: 0;
  align-self: stretch;
  position: relative;
  padding: 0;
}
.tools-panel-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  transition: opacity 0.4s var(--pub-ease), transform 0.4s var(--pub-ease);
}
.tools-panel-media img.is-switching {
  opacity: 0;
  transform: translateX(14px);
}

/* ============================================================
   Alternating feature rows + sliders (Figma 663:2293+)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 482fr 508fr;
  /* Figma Frame 5171/5175: media 482 → content at x=511 → gap 29 */
  gap: 29px;
  align-items: center;
  padding: 36px 0;
  max-width: 1090px;
  margin: 0 auto;
}
.feature-row + .feature-row {
  border-top: 0;
  padding-top: 52px;
}
.feature-row.reverse .feature-slider,
.feature-row.reverse .feature-media,
.feature-row.reverse .feature-row-media--static,
.feature-row.reverse .feature-row-media--access { order: 2; }
.feature-row.reverse .feature-row-content { order: 1; }
.feature-row-media,
.feature-slider,
.feature-media,
.feature-row-media--static {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  /* Default: slide PNGs may include mint frame — avoid double mint/gray padding */
  background: transparent;
  box-shadow: none;
  aspect-ratio: auto;
  padding: 0;
}
.feature-row-media img,
.feature-row-media--static img {
  width: 100%;
  height: auto;
  aspect-ratio: 482 / 461;
  object-fit: cover;
  object-position: center center;
  border-radius: 28px;
  display: block;
  background: transparent;
}

/* Access / permissions — static shield illustration (Figma 667:4661), not a slider.
   Why prior CSS looked like “no shadow”:
   1) PNG corners are baked page-bg (#f3f6f8) so the visual card edge melts into the page;
      soft/faint box-shadows read as absent even when present.
   2) file:// loads of css/public.css with no ?v= cache-bust often served a stale sheet.
   3) filter/isolation on the shadow host suppressed box-shadow in Chromium historically.
   Fix: opaque white host + strong neutral box-shadow + ::after oval blur under the card
   (pseudo lives on the transparent media wrapper so it is not painted behind #fff). */
.feature-row.feature-row--access,
.feature-row:has(.feature-row-media--access) {
  overflow: visible;
  padding: 40px 32px 96px;
}
.feature-row-media.feature-row-media--access {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
  padding: 0 0 36px;
  box-shadow: none;
  isolation: auto;
}
/* Soft oval under the card — independent of box-shadow compositing */
.feature-row-media.feature-row-media--access::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.feature-access-shadow {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 34px;
  background: #fff;
  /* No filter/isolation on this host — those suppress box-shadow in Chromium */
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.10),
    0 28px 64px rgba(0, 0, 0, 0.14);
}
.feature-access-card {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  aspect-ratio: 482 / 461;
}
.feature-access-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 482 / 461;
  /* Crop baked #f3f6f8 margins so the opaque host edge (and shadow) meet real art */
  object-fit: cover;
  object-position: center center;
  transform: scale(1.035);
  transform-origin: center center;
  border-radius: 34px;
  display: block;
  background: #fff;
}
.feature-slider-track {
  position: relative;
  width: 100%;
  /* Slightly shorter than source art so baked PNG dots are clipped */
  aspect-ratio: 482 / 428;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
}
.feature-slider-track > picture,
.feature-slider-track > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.5s var(--pub-ease), transform 0.5s var(--pub-ease);
  pointer-events: none;
  border-radius: 0;
  display: block;
}
.feature-slider-track > picture.is-active,
.feature-slider-track > img.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}
.feature-slider-track > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
}
.feature-slider-track > img {
  object-fit: cover;
  object-position: center top;
}
.feature-slider-dots {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.feature-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 102, 78, 0.28);
  cursor: pointer;
  pointer-events: auto;
  transition: width 0.3s var(--pub-ease), background 0.3s var(--pub-ease);
}
.feature-slider-dots button.is-active {
  width: 26px;
  background: var(--pub-green);
}

/* Shared CSS mint frame — gradient + clouds (not baked into PNGs).
   Use .feature-media--framed for static single images; .feature-slider--framed for sliders (dots only on slider). */
.feature-media--framed,
.feature-slider--framed {
  --feat-frame-pad-x: 18px;
  --feat-frame-pad-top: 18px;
  --feat-frame-pad-bot: 40px;
  border-radius: 36px;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 482 / 461;
  box-shadow:
    0 18px 40px rgba(18, 20, 23, 0.06),
    0 4px 12px rgba(0, 102, 78, 0.06);
  background-color: #9eecd0;
  background-image:
    radial-gradient(ellipse 58% 42% at 8% 96%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.35) 38%, transparent 68%),
    radial-gradient(ellipse 52% 40% at 94% 4%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.28) 42%, transparent 70%),
    radial-gradient(ellipse 40% 28% at 22% 78%, rgba(255, 255, 255, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 36% 26% at 78% 18%, rgba(255, 255, 255, 0.4) 0%, transparent 65%),
    linear-gradient(168deg, #b6f4da 0%, #95e8c8 28%, #a8efd4 55%, #d4f8ea 82%, #eefcf6 100%);
  background-repeat: no-repeat;
}
.feature-media--framed::before,
.feature-slider--framed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 482 461' width='482' height='461'%3E%3Cdefs%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='28'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23b)' fill='%23ffffff' fill-opacity='0.55'%3E%3Cellipse cx='70' cy='420' rx='140' ry='90'/%3E%3Cellipse cx='150' cy='390' rx='100' ry='70'/%3E%3Cellipse cx='420' cy='40' rx='130' ry='85'/%3E%3Cellipse cx='360' cy='70' rx='90' ry='60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}
.feature-media--framed .feature-media-inner,
.feature-slider--framed .feature-slider-track {
  position: absolute;
  z-index: 1;
  top: var(--feat-frame-pad-top);
  left: var(--feat-frame-pad-x);
  right: var(--feat-frame-pad-x);
  bottom: var(--feat-frame-pad-bot);
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}
.feature-media--framed .feature-media-inner img,
.feature-slider--framed .feature-slider-track img {
  /* Identical 892×806 transparent canvases — white UI floats on mint, no gray plate/shadow */
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
  filter: none;
  background: transparent;
}
.feature-media--framed .feature-media-inner picture,
.feature-media--framed .feature-media-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  transform: none;
  pointer-events: none;
}
.feature-media--framed .feature-media-inner picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* Soft bottom dissolve (finance framed media) — Activity fades into mint frame */
.feature-media--fade-bottom .feature-media-inner img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 84%,
    rgba(0, 0, 0, 0.55) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 84%,
    rgba(0, 0, 0, 0.55) 92%,
    transparent 100%
  );
}
.feature-media--fade-bottom .feature-media-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 17%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(238, 252, 246, 0) 0%,
    rgba(238, 252, 246, 0.14) 42%,
    rgba(238, 252, 246, 0.4) 78%,
    rgba(238, 252, 246, 0.55) 100%
  );
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%);
}

/* Softer bottom dissolve (projects/team framed sliders) — ~½ finance strength */
.feature-slider--fade-bottom .feature-slider-track img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 92%,
    rgba(0, 0, 0, 0.55) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 92%,
    rgba(0, 0, 0, 0.55) 96%,
    transparent 100%
  );
}
.feature-slider--fade-bottom .feature-slider-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8.5%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(238, 252, 246, 0) 0%,
    rgba(238, 252, 246, 0.07) 42%,
    rgba(238, 252, 246, 0.2) 78%,
    rgba(238, 252, 246, 0.275) 100%
  );
  -webkit-backdrop-filter: blur(1.25px);
  backdrop-filter: blur(1.25px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%);
}
.feature-slider--framed .feature-slider-dots {
  bottom: 12px;
  gap: 7px;
  z-index: 3;
}
.feature-slider--framed .feature-slider-dots button {
  width: 8px;
  height: 8px;
  background: #c5ced4;
}
.feature-slider--framed .feature-slider-dots button.is-active {
  width: 28px;
  background: var(--pub-green);
}
.feature-row-content h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pub-ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.feature-row-content > p {
  color: #4a5560;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 480px;
}
.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.feature-pill-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 42px;
  background: linear-gradient(
    172deg,
    rgba(255, 255, 255, 0.85) 11%,
    rgba(248, 250, 255, 0.95) 40%,
    #fff 96%
  );
  color: #4a5560;
  font-size: 1rem;
  font-weight: 400;
  width: fit-content;
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    9px 14px 2px rgba(209, 255, 224, 0.13),
    inset -1px -3px 9px rgba(255, 255, 255, 0.9),
    inset 0.75px 3px 8px rgba(209, 255, 224, 0.35);
}
.feature-pill-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--pub-green);
  box-shadow: 0 0 0 3px rgba(0, 229, 141, 0.18);
}
.feature-pill-list li i {
  color: var(--pub-green);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   "Why Teams Choose" — Figma masonry (648 / 427, gap 15×16)
   ============================================================ */
.why-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 55% at 8% 18%, rgba(111, 240, 183, 0.28), transparent 62%),
    radial-gradient(ellipse 42% 50% at 94% 88%, rgba(111, 240, 183, 0.22), transparent 58%),
    radial-gradient(ellipse 36% 42% at 88% 22%, rgba(159, 214, 255, 0.16), transparent 55%),
    var(--pub-bg);
}
.why-section .pub-section-head {
  margin-bottom: 40px;
}
.why-grid {
  --why-gap-x: 15px;
  --why-gap-y: 16px;
  display: grid;
  /* 427 + 221 = 648 wide; 427 narrow — mirrors Figma ratios */
  grid-template-columns: minmax(0, 427fr) minmax(0, 221fr) minmax(0, 427fr);
  gap: var(--why-gap-y) var(--why-gap-x);
  align-items: stretch;
  max-width: 1090px;
  margin: 0 auto;
}
.why-card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 34px;
  min-height: 283px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    6px 3px 15px rgba(0, 0, 0, 0.02),
    25px 11px 27px rgba(0, 0, 0, 0.02),
    56px 24px 37px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s var(--pub-ease),
    box-shadow 0.28s var(--pub-ease);
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow:
    6px 6px 18px rgba(0, 0, 0, 0.03),
    25px 16px 32px rgba(0, 0, 0, 0.03),
    56px 28px 40px rgba(0, 0, 0, 0.015);
}
/* Top: wide | narrow — Bottom: narrow | wide */
.why-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.why-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.why-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.why-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }

.why-card-visual {
  position: absolute;
  inset: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.why-card-caption {
  position: absolute;
  left: 26px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  color: #121417;
  letter-spacing: -0.01em;
}

/* Dashboard mock (top-left) — image already has 3D perspective */
.why-card-visual--dash {
  inset: 8px 0 44px;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.why-card-visual--dash picture {
  display: contents;
}
.why-card-visual--dash img {
  width: 108%;
  max-width: none;
  height: auto;
  margin-top: -4%;
  object-fit: contain;
  filter: drop-shadow(8px 14px 28px rgba(0, 0, 0, 0.07));
}
.why-card--dash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 70%);
  pointer-events: none;
  z-index: 1;
}

/* Icon grid (top-right) — 2×5 */
.why-card-visual--icons {
  inset: 0 0 56px;
}
.why-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 56px);
  grid-template-rows: repeat(2, 56px);
  gap: 14px 19px;
  justify-content: center;
}
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Soft circular wash — faint like Figma frosted wells, not green pills */
  background: radial-gradient(
    circle at 50% 45%,
    rgba(230, 236, 242, 0.55) 0%,
    rgba(230, 236, 242, 0) 70%
  );
}
.why-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Green glow cards — Figma green disc + soft radial bloom under black icons */
.why-card-visual--glow {
  inset: 0 0 56px;
}
.why-glow {
  position: relative;
  width: 95px;
  height: 96px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #00e58d 0%, #00c278 100%);
  border: 1.5px solid #fff;
  box-shadow:
    0 61px 156px rgba(0, 229, 141, 0.34),
    0 36px 47px rgba(0, 229, 141, 0.19),
    0 15px 20px rgba(0, 229, 141, 0.22),
    0 5px 7px rgba(0, 229, 141, 0.15);
}
.why-glow::before {
  content: "";
  position: absolute;
  inset: -56px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 141, 0.5) 0%,
    rgba(0, 229, 141, 0.22) 40%,
    rgba(0, 229, 141, 0) 70%
  );
  z-index: -1;
  pointer-events: none;
}
.why-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1.5px 26px #d9fff0,
    inset 0 1.5px 6px #d9fff0;
  pointer-events: none;
}
.why-glow img {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* ============================================================
   CTA banner (Figma 674:7177)
   Section sits on page gray; card is white→mint with soft bottom
   shadow. Overflow must stay visible — overflow:hidden clipped the
   shadow (same lesson as access card). Wrap hosts the oval blur so
   it paints under the opaque card, not behind it.
   ============================================================ */
.pub-section--cta {
  background: #f3f6f8;
  padding: 55px 0 96px;
  overflow: visible;
}
.pub-section--cta .pub-container {
  overflow: visible;
}
.pub-cta-wrap {
  position: relative;
  max-width: 1090px;
  margin: 0 auto;
  padding-bottom: 28px;
  overflow: visible;
}
/* Soft diffused oval — concentrated under the card bottom edge */
.pub-cta-wrap::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 2px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.pub-cta {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  padding: 56px 32px 56px;
  text-align: center;
  /* Figma: white base + soft mint wash (blurred green gradient ≈ #F0FFF8) */
  background: linear-gradient(180deg, #ffffff 0%, #f0fff8 100%);
  border: 1px solid rgba(18, 20, 23, 0.05);
  color: var(--pub-ink);
  overflow: visible;
  /* Figma multi-layer shadow, Y-axis (export X offsets were flip artifacts) */
  box-shadow:
    0 3px 15px rgba(0, 0, 0, 0.04),
    0 11px 27px rgba(0, 0, 0, 0.045),
    0 24px 48px rgba(0, 0, 0, 0.055),
    0 40px 72px rgba(0, 0, 0, 0.04);
  max-width: 1090px;
  margin: 0 auto;
}
.pub-cta h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: #000;
}
.pub-cta p {
  color: #4a5560;
  margin-bottom: 40px; /* Figma gap text→button ≈ 37px; keep generous */
  font-size: 1rem;
}
.pub-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pub-cta .btn-hero-cta {
  height: 66px;
  padding: 0 32px;
  /* Green glow matches hero/login via .btn-primary + --pub-glow */
  box-shadow: var(--pub-glow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.pub-footer {
  background: var(--pub-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 22px 0;
  margin-top: 0;
}
.pub-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  text-align: center;
}
.pub-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.pub-footer-links a { text-decoration: none; color: rgba(255, 255, 255, 0.82); }
.pub-footer-links a:hover { color: #fff; }
.pub-footer-admin {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.78rem;
}
.pub-footer-admin:hover { color: #fff !important; }

/* ============================================================
   PRICING PAGE — Figma Desktop - 7 / 1054:545
   ============================================================ */
.page-pricing .pricing-hero {
  padding: 120px 0 0;
  overflow: visible;
}
.page-pricing .pricing-hero .pub-blob-green,
.page-pricing .pricing-hero .pub-blob-blue {
  background: transparent;
  filter: none;
  opacity: 0.2;
  width: 392px;
  height: 270px;
  border-radius: 0;
  overflow: visible;
}
.page-pricing .pricing-hero .pub-blob-green::before,
.page-pricing .pricing-hero .pub-blob-blue::before {
  content: "";
  position: absolute;
  inset: -75% -52%;
  background: url("../images/pricing/blob-wash.webp") center / contain no-repeat;
  pointer-events: none;
}
.page-pricing .pricing-hero .pub-blob-green {
  top: 0;
  left: -40px;
  transform: none;
}
.page-pricing .pricing-hero .pub-blob-blue {
  top: 140px;
  right: -40px;
  left: auto;
}
.page-pricing .pricing-hero .pub-eyebrow {
  margin-bottom: 0;
}
.page-pricing .pricing-hero .pub-hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.18;
  max-width: 738px;
  margin: 16px auto 10px;
}
.page-pricing .pricing-hero .pub-hero-sub {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 656px;
  margin: 0 auto 32px;
  color: var(--pub-muted);
}
.page-pricing .pricing-hero .pub-hero-actions {
  gap: 19px;
  margin-bottom: 122px;
}
.page-pricing .pricing-hero .pub-hero-actions .btn-hero-cta {
  min-width: 219px;
}
.page-pricing .pricing-hero .pub-hero-actions .btn-demo {
  min-width: 213px;
}

/* Monthly / Yearly — Figma pill (#eceeef track, white active) */
.page-pricing .pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #eceeef;
  border: 1px solid rgba(187, 202, 193, 0.3);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 72px;
}
.page-pricing .pricing-toggle button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #3c4a43;
  padding: 8px 24px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 16px;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.page-pricing .pricing-toggle button#toggleYearly {
  padding: 6px 5px 6px 10px;
}
.page-pricing .pricing-toggle button.is-active {
  background: #fff;
  color: #191c1d;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.page-pricing .pricing-toggle .save-badge {
  background: rgba(0, 108, 79, 0.1);
  color: #00c896;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 16px;
}
.page-pricing .pricing-toggle button.is-active .save-badge {
  background: rgba(0, 108, 79, 0.1);
  color: #00c896;
}

.page-pricing .pricing-cards-section {
  padding-top: 0;
  padding-bottom: 48px;
}
.page-pricing .pricing-cards-section .pub-container,
.page-pricing .pricing-compare-section .pub-container,
.page-pricing .pricing-cta-section .pub-container {
  max-width: 1094px;
}
.page-pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 0;
}
.page-pricing .pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(187, 202, 193, 0.3);
  border-radius: 24px;
  padding: 33px;
  min-height: 536px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.28s var(--pub-ease),
    box-shadow 0.28s var(--pub-ease),
    border-color 0.2s ease;
}
.page-pricing .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 102, 78, 0.1);
}
.page-pricing .pricing-card.featured {
  border: 2px solid #01dc80;
  box-shadow:
    0 0 0 4px rgba(0, 200, 150, 0.05),
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: none;
  padding-top: 48px;
}
.page-pricing .pricing-card.featured:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 4px rgba(0, 200, 150, 0.08),
    0 24px 32px -5px rgba(0, 0, 0, 0.12),
    0 10px 14px -6px rgba(0, 0, 0, 0.1);
}
.page-pricing .pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #01dc80;
  color: #121417;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 999px;
  line-height: 16px;
  white-space: nowrap;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.page-pricing .pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 28px;
  color: #3c4a43;
  margin-bottom: 8px;
}
.page-pricing .pricing-card.featured h3 {
  color: #00664e;
}
.page-pricing .pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0;
  min-height: 40px;
}
.page-pricing .pricing-price .amount {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 40px;
  color: #191c1d;
  letter-spacing: 0;
}
.page-pricing .pricing-card.featured .pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 48px;
}
.page-pricing .pricing-price .period {
  color: #3c4a43;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 20px;
}
.page-pricing .pricing-card > p.desc {
  color: #3c4a43;
  font-size: 0.875rem;
  line-height: 20px;
  margin: 8px 0 24px;
  min-height: 20px;
}
.page-pricing .pricing-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  flex: 1;
}
.page-pricing .pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  line-height: 20px;
  color: #3c4a43;
  font-weight: 400;
}
.page-pricing .pricing-card.featured .pricing-feature-list li {
  color: #191c1d;
  font-weight: 500;
}
.page-pricing .pricing-feature-list li img {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

.page-pricing .btn-pricing-outline {
  width: 100%;
  height: auto;
  min-height: 58px;
  padding: 17px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #6c7a72;
  color: #191c1d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 24px;
  box-shadow: none;
}
.page-pricing .btn-pricing-outline:hover {
  border-color: #00664e;
  color: #00664e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 78, 0.08);
}
.page-pricing .btn-pricing-pro {
  width: 100%;
  height: auto;
  min-height: 58px;
  padding: 16px;
  border-radius: 12px;
  background: #01dc80;
  border: none;
  color: #121417;
  font-size: 1rem;
  font-weight: 700;
  line-height: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.page-pricing .btn-pricing-pro:hover {
  background: #00c878;
  color: #121417;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -2px rgba(1, 220, 128, 0.35);
}

/* Compare table */
.page-pricing .pricing-compare-section {
  padding-top: 40px;
  padding-bottom: 158px;
}
.page-pricing .pricing-compare-head {
  margin-bottom: 80px;
}
.page-pricing .pricing-compare-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 40px;
  color: #191c1d;
  text-align: center;
}
.page-pricing .compare-table-wrap {
  overflow-x: auto;
  border: none;
  border-radius: 0;
  background: transparent;
}
.page-pricing .compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  table-layout: fixed;
}
.page-pricing .compare-table th,
.page-pricing .compare-table td {
  text-align: center;
  padding: 24px;
  font-size: 0.875rem;
  line-height: 20px;
  border-bottom: 1px solid rgba(187, 202, 193, 0.2);
  vertical-align: middle;
}
.page-pricing .compare-table thead th {
  padding: 16px 24px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 28px;
  color: #3c4a43;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid rgba(187, 202, 193, 0.3);
}
.page-pricing .compare-table thead th.col-pro {
  color: #006c4f;
}
.page-pricing .compare-table th:first-child,
.page-pricing .compare-table td:first-child {
  text-align: left;
  width: 30%;
  color: #191c1d;
  font-weight: 500;
}
.page-pricing .compare-table thead th:first-child {
  color: #3c4a43;
  font-weight: 600;
}
.page-pricing .compare-table tbody td {
  color: #3c4a43;
  font-weight: 400;
}
.page-pricing .compare-table tbody td.cell-strong {
  color: #191c1d;
  font-weight: 700;
}
.page-pricing .compare-table tbody tr:last-child td {
  border-bottom: 1px solid rgba(187, 202, 193, 0.2);
}
.page-pricing .compare-check {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  display: block;
}
.page-pricing .compare-dash {
  display: block;
  width: 14px;
  height: 2px;
  margin: 0 auto;
  background: #bbcac1;
  border-radius: 1px;
}

/* Bottom CTA — Figma newsletter panel */
.page-pricing .pricing-cta-section {
  padding-top: 48px;
  padding-bottom: 110px;
}
.page-pricing .pricing-cta-box {
  padding: 80px;
}
.page-pricing .pricing-cta-box h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-pricing .pricing-cta-box > p {
  margin-bottom: 0;
}
.page-pricing .pricing-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}
.page-pricing .btn-pricing-trial {
  height: auto;
  min-height: 76px;
  padding: 24px 80px;
  border-radius: 999px;
  background: #01dc80;
  border: none;
  color: #121417;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 28px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.page-pricing .btn-pricing-trial:hover {
  background: #00c878;
  color: #121417;
  transform: translateY(-2px);
}
.page-pricing .btn-pricing-expert {
  height: auto;
  min-height: 80px;
  padding: 26px 82px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid #01dc80;
  color: #01dc80;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 28px;
  box-shadow: none;
}
.page-pricing .btn-pricing-expert:hover {
  background: rgba(1, 220, 128, 0.1);
  color: #01dc80;
  transform: translateY(-2px);
}
.page-pricing .pub-footer {
  padding: 21px 0 20px;
}
.page-pricing .pub-footer-inner {
  font-size: 0.75rem;
  color: #fff;
}

/* ============================================================
   NEWS PAGE (Figma Desktop - 6 / 1050:17909)
   ============================================================ */
.page-news .pub-hero.news-hero {
  position: relative;
  /* Room for bottom productivity float (Figma y≈634–812 on 1440 frame) */
  padding: 56px 0 300px;
  min-height: 720px;
  overflow: visible;
}
.page-news .news-hero .pub-blob-green {
  top: -40px;
  left: -8%;
  width: 520px;
  height: 360px;
  opacity: 0.28;
  background: #7ef0c4;
}
.page-news .news-hero .pub-blob-blue {
  top: 120px;
  right: -10%;
  left: auto;
  width: 480px;
  height: 340px;
  opacity: 0.22;
  background: #9fd6ff;
}
.news-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}
.page-news .news-hero .pub-hero-title {
  max-width: 738px;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  margin: 22px auto 16px;
}
.page-news .news-hero .pub-hero-sub {
  max-width: 656px;
  margin-bottom: 28px;
}
.page-news .news-hero .pub-hero-actions {
  margin-bottom: 0;
  gap: 19px;
  position: relative;
  z-index: 4;
}
.page-news .news-hero .pub-hero-actions .btn-hero-cta,
.page-news .news-hero .pub-hero-actions .btn-demo {
  height: 66px;
  padding: 0 30px;
  font-size: 1rem;
  border-radius: 70px;
}

/*
  Floating hero cards — Figma Desktop-6 @ 1440
  Orange 1050:20793  x=59  y=178  (left mid)
  Activity 1050:20759 x=1064 y=411 (right mid)
  Prod 1050:20775     x=393 y=634  (bottom center)
  Frame includes nav; hero starts ~y=132 → subtract 132 from Figma Y.
*/
.news-float-stage {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: min(100%, 1440px);
  transform: translateX(-50%);
  margin: 0;
  min-height: 0;
  pointer-events: none;
  z-index: 3;
  /* Kill any flex/grid that would force a row under CTAs */
  display: block;
}
.news-float {
  position: absolute;
  border-radius: 24px;
  text-align: left;
  pointer-events: none;
}
.news-float-update {
  left: calc(59 / 1440 * 100%);
  top: 46px; /* 178 - 132 */
  width: 192px;
  padding: 17px;
  background: #ff9467;
  border: 1px solid rgba(154, 69, 31, 0.2);
  color: #762b05;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.news-float-update-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.news-float-update-head img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.news-float-update-head span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.news-float-update p {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #762b05;
  margin: 0;
}
.news-float-activity {
  left: auto;
  right: calc(120 / 1440 * 100%); /* 1440 - 1064 - 256 */
  top: 279px; /* 411 - 132 */
  width: 256px;
  padding: 25px;
  background: #fff;
  border: 1px solid rgba(187, 202, 193, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.news-float-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.news-float-activity-head strong {
  font-size: 1.25rem;
  font-weight: 600;
  color: #191c1d;
  line-height: 1.4;
}
.news-float-activity-head img {
  width: 24px;
  height: 12px;
  flex-shrink: 0;
}
.news-float-avatars {
  display: flex;
  align-items: center;
}
.news-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #f8fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 500;
  color: #191c1d;
  margin-right: -8px;
}
.news-avatar:last-child { margin-right: 0; }
.news-avatar-jd { background: rgba(0, 108, 79, 0.2); }
.news-avatar-am { background: rgba(93, 94, 97, 0.2); }
.news-avatar-sk { background: rgba(154, 69, 31, 0.2); }

.news-float-prod {
  left: calc(393 / 1440 * 100%);
  top: 502px; /* 634 - 132 */
  bottom: auto;
  transform: none;
  width: 320px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-float-prod-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.news-float-prod-head img {
  width: 36px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
}
.news-float-prod-head strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #191c1d;
  line-height: 1.4;
}
.news-float-prod-head span {
  display: block;
  font-size: 0.875rem;
  color: #3c4a43;
  line-height: 1.4;
}
.news-float-chart {
  height: 64px;
  border-radius: 8px;
  background: #eceeef;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  position: relative;
  overflow: hidden;
}
.news-float-chart::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: rgba(0, 108, 79, 0.1);
}
.news-float-chart span {
  position: relative;
  z-index: 1;
  flex: 1;
  height: var(--h, 50%);
  background: #00c896;
  border-radius: 2px 2px 0 0;
  min-width: 0;
}

/* Articles */
.news-articles { padding-top: 64px; }
.news-articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 48px;
  text-align: left;
}
.news-articles-head h2 {
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #191c1d;
  line-height: 1.25;
  margin-bottom: 4px;
}
.news-articles-head p {
  color: #3c4a43;
  font-size: 1rem;
  line-height: 1.5;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #f8fafb;
  border: 1px solid rgba(187, 202, 193, 0.3);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(18, 20, 23, 0.04), 0 10px 28px rgba(18, 20, 23, 0.04);
  transition:
    transform 0.28s var(--pub-ease),
    box-shadow 0.28s var(--pub-ease),
    border-color 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 102, 78, 0.1);
  border-color: rgba(1, 220, 128, 0.3);
}
.blog-card-media {
  height: 192px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #eef2f2;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--pub-ease);
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.blog-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  background: #e2e2e5;
  color: #5d5e61;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  text-transform: none;
}
.blog-tag-culture {
  background: #e2e2e5;
  color: #5d5e61;
}
.blog-tag-tutorial {
  background: rgba(0, 200, 150, 0.2);
  color: #006c4f;
}
.blog-tag-ecosystem {
  background: rgba(255, 148, 103, 0.2);
  color: #9a451f;
}
.blog-card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #191c1d;
  margin-bottom: 0;
  line-height: 1.4;
}
.blog-card-body p {
  font-size: 0.875rem;
  color: #3c4a43;
  margin-bottom: 0;
  line-height: 1.45;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: #3c4a43;
  padding-top: 18px;
  border-top: none;
}
.blog-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-author img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Improvements */
.news-improvements { padding-top: 48px; }
.news-improvements .pub-section-head {
  margin-bottom: 48px;
}
.news-improvements .pub-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 600;
  color: #191c1d;
  letter-spacing: -0.01em;
}
.news-improvements .pub-section-head p {
  color: #3c4a43;
  font-size: 1rem;
}
.improvements-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 832px;
  margin: 0 auto;
}
.improvement-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border: 1px solid rgba(187, 202, 193, 0.2);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 1px 2px rgba(18, 20, 23, 0.03), 0 12px 28px rgba(18, 20, 23, 0.05);
}
.improvement-icon {
  width: auto;
  height: auto;
  min-width: 48px;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: block;
  font-size: inherit;
  padding: 0;
}
.improvement-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 52px;
}
.improvement-content { flex: 1; min-width: 0; }
.improvement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.improvement-head h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #191c1d;
  line-height: 1.4;
}
.version-tag {
  background: #e1e3e4;
  color: #191c1d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.35;
}
.new-badge {
  background: rgba(1, 220, 128, 0.15);
  color: var(--pub-green-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
}
.improvement-content p {
  color: #3c4a43;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.improvement-content a {
  color: #006c4f;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding-top: 8px;
}
.improvement-content a:hover { text-decoration: underline; }

/* Newsletter */
.news-newsletter-section { padding-top: 40px; padding-bottom: 96px; }
.newsletter-box {
  position: relative;
  border-radius: 40px;
  padding: 80px 48px;
  text-align: center;
  background: var(--pub-green-deep);
  color: #fff;
  overflow: hidden;
}
.newsletter-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(32px);
}
.newsletter-glow-tl {
  width: 160px;
  height: 160px;
  top: -40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.05);
}
.newsletter-glow-br {
  width: 240px;
  height: 240px;
  bottom: -40px;
  right: -40px;
  background: rgba(255, 255, 255, 0.1);
}
.newsletter-box h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 900px;
  margin-inline: auto;
}
.newsletter-box > p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  max-width: 576px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.5;
}
.newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  max-width: 512px;
  margin: 32px auto 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  height: 48px;
  border-radius: 24px;
  border: none;
  padding: 0 24px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  color: var(--pub-ink);
}
.newsletter-form input::placeholder { color: #6b7280; }
.newsletter-form .btn {
  height: 48px;
  min-width: 172px;
  border-radius: 52px;
  padding: 0 28px;
}
.newsletter-fine {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  padding-top: 8px;
}

@media (max-width: 1100px) {
  .page-news .pub-hero.news-hero {
    min-height: 640px;
    padding-bottom: 260px;
  }
  .news-float-update {
    left: 2%;
    top: 36px;
    transform: scale(0.9);
    transform-origin: left top;
  }
  .news-float-activity {
    right: 2%;
    top: 240px;
    transform: scale(0.9);
    transform-origin: right top;
  }
  .news-float-prod {
    left: 50%;
    top: 460px;
    transform: translateX(-50%) scale(0.9);
    transform-origin: center top;
  }
}

@media (max-width: 900px) {
  .page-news .pub-hero.news-hero {
    min-height: 0;
    padding-bottom: 24px;
  }
  .news-float-stage {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 520px;
    transform: none;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    justify-items: center;
    z-index: 2;
  }
  .news-float {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
  }
  .news-float-prod {
    grid-column: 1 / -1;
    width: min(100%, 320px);
  }
  .news-float-update {
    width: min(100%, 192px);
  }
}

/* ============================================================
   AUTH PAGES (welcome / sign-in / create-workspace / workspaces)
   ============================================================ */
body.page-auth {
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.4), transparent 55%),
    linear-gradient(180deg, #7eb8e8 0%, #a8d4f0 45%, #c5e3f5 100%);
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 599px;
  background: #fff;
  border: 1px solid #dce3e7;
  border-radius: 24px;
  padding: 48px 44px 40px;
  box-shadow: 11px 12px 36px rgba(0, 0, 0, 0.04), 44px 49px 66px rgba(0, 0, 0, 0.03);
  text-align: center;
}
.auth-card.auth-card-wide { max-width: 640px; padding: 40px 36px 36px; }
.auth-logo {
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-logo img {
  width: 48px;
  height: auto;
  display: block;
}
.auth-title {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--pub-ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.auth-sub {
  font-size: 0.95rem;
  color: var(--pub-muted);
  margin-bottom: 28px;
  line-height: 1.45;
}
.auth-btn,
.auth-btn-muted,
.auth-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 14px;
  margin-top: 0;
}
.auth-btn-muted { background: #f6f6f6; color: var(--pub-ink); border-color: var(--pub-border); }
.auth-btn-muted:hover { background: #eceef2; }
.auth-btn-primary { background: var(--pub-green); color: var(--pub-ink); }
.auth-btn-primary:hover { background: var(--pub-green-dark); }
.auth-footer { margin-top: 22px; font-size: 0.9rem; color: var(--pub-muted); }
.auth-footer a { color: var(--pub-ink); font-weight: 600; text-decoration: none; }
.auth-footer a:hover { color: var(--pub-green-deep); }

.auth-social { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.auth-btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: 1px solid #e2e5eb;
  background: #fff;
  color: var(--pub-ink);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.auth-btn-social:hover { border-color: #c7ccd4; }
.auth-btn-social i,
.auth-btn-social img { width: 18px; height: 18px; flex-shrink: 0; }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 8px 0 22px; color: #5e6a72; font-size: 0.85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: #e6eaee; }

.auth-field { text-align: left; margin-bottom: 16px; }
.auth-field label { display: block; font-size: 0.78rem; color: var(--pub-muted); margin-bottom: 6px; font-weight: 500; }
.auth-field input {
  width: 100%;
  height: 54px;
  border: 1px solid #dce3e7;
  background: #eef2f4;
  border-radius: 999px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--pub-ink);
  outline: none;
}
.auth-field input:focus { border-color: var(--pub-green); background: #fff; }

.ws-list { display: flex; flex-direction: column; gap: 12px; }
.ws-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  background: #fafbfc;
}
.ws-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ws-avatar { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: #eef2f4; }
.ws-name { font-weight: 600; color: var(--pub-ink); font-size: 0.95rem; }
.ws-meta { font-size: 0.8rem; color: var(--pub-muted); margin-top: 2px; }
.ws-join {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--pub-green);
  color: var(--pub-ink);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.ws-join:hover { background: var(--pub-green-dark); }
.ws-actions { display: flex; gap: 10px; margin-top: 22px; }
.ws-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.ws-btn-muted { background: #f3f6f8; color: var(--pub-ink); border: 1px solid #e2e5eb; }
.ws-btn-primary { background: var(--pub-green); color: var(--pub-ink); }
.ws-btn-primary:hover { background: var(--pub-green-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: 1.4fr 1fr;
  }
  .why-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .why-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .why-card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .why-card:nth-child(4) { grid-column: 2; grid-row: 2; }
  .why-icon-grid {
    grid-template-columns: repeat(5, 48px);
    grid-template-rows: repeat(2, 48px);
    gap: 12px 14px;
  }
  .why-icon { width: 48px; height: 48px; }
}

@media (max-width: 991px) {
  .pub-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 64px;
    padding: 8px 0;
    column-gap: 0;
  }
  .pub-logo {
    font-size: 1.35rem;
  }
  .pub-logo img {
    width: 22px;
  }
  .pub-nav-links,
  .pub-nav-actions { display: none; }
  .pub-nav-mobile-cta {
    display: inline-flex;
    flex-shrink: 0;
  }
  .pub-nav-mobile-cta .pub-nav-toggle,
  .pub-nav-toggle {
    display: inline-flex !important;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    /* Figma 721:5010 — white circle, no visible stroke; soft lift only */
    border: none;
    outline: none;
    box-shadow: 0 4px 14px rgba(18, 20, 23, 0.08);
    background: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .pub-nav.is-open .pub-nav-toggle {
    color: var(--pub-ink);
  }

  .tools-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .feature-mini-grid {
    gap: 10px;
    flex: none;
    height: auto;
    justify-content: flex-start;
  }
  .feature-mini-card {
    min-height: auto;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
  .feature-mini-card h3 { font-size: 1.15rem; }
  .feature-mini-card p { margin-top: 4px; font-size: 0.9rem; }
  .tools-panel-media {
    aspect-ratio: 535 / 613;
    min-height: 0;
    padding: 0;
    border-radius: 24px;
  }
  .tools-panel-media img {
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .feature-row + .feature-row { padding-top: 40px; }
  /* Mobile Figma: copy first, media below */
  .feature-row .feature-row-content { order: 1; }
  .feature-row .feature-slider,
  .feature-row .feature-media,
  .feature-row .feature-row-media--static,
  .feature-row .feature-row-media--access { order: 2; }
  .feature-row.reverse .feature-slider,
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-row-media--static,
  .feature-row.reverse .feature-row-media--access,
  .feature-row.reverse .feature-row-content { order: initial; }
  .feature-row.reverse .feature-row-content { order: 1; }
  .feature-row.reverse .feature-slider,
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-row-media--static,
  .feature-row.reverse .feature-row-media--access { order: 2; }
  .feature-media--framed,
  .feature-slider--framed {
    --feat-frame-pad-x: 14px;
    --feat-frame-pad-top: 14px;
    --feat-frame-pad-bot: 34px;
    border-radius: 28px;
    max-width: 520px;
    margin-inline: auto;
  }
  .feature-row-media.feature-row-media--access,
  .feature-access-shadow,
  .feature-access-card {
    max-width: 520px;
    margin-inline: auto;
  }
  .feature-access-shadow,
  .feature-access-card { border-radius: 28px; }
  .feature-access-card img { border-radius: 28px; }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .why-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .why-card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .why-card:nth-child(4) { grid-column: 2; grid-row: 2; }
  .why-card { min-height: 260px; }
  .page-pricing .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .page-pricing .pricing-card.featured { transform: none; padding-top: 48px; }
  .page-pricing .pricing-card.featured:hover { transform: translateY(-4px); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-hero-media,
  .pub-hero.is-ready .pub-hero-media {
    transform: none;
  }
}

@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .why-icon-grid {
    grid-template-columns: repeat(5, 44px);
    grid-template-rows: repeat(2, 44px);
    gap: 10px 12px;
  }
  .why-icon { width: 44px; height: 44px; }
  .why-card-caption { font-size: 0.95rem; left: 20px; bottom: 18px; }

  /* Why header card — mobile Dashboard mock (Figma 719:4152), not desktop crop */
  .why-card--dash {
    min-height: 283px;
    border-radius: 28px;
  }
  .why-card-visual--dash {
    inset: 10px 6px 52px;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }
  .why-card-visual--dash picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .why-card-visual--dash img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin-top: 0;
    object-fit: contain;
    object-position: center top;
    filter: drop-shadow(6px 12px 22px rgba(0, 0, 0, 0.06));
  }
  .why-card--dash::after {
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 70%);
  }
  .why-card--dash .why-card-caption {
    left: 20px;
    bottom: 18px;
    right: auto;
  }
}

@media (max-width: 640px) {
  /* Figma iPhone frame 698:216: 440 wide, 18px side gutters */
  .pub-container {
    padding: 0 18px;
  }
  .pub-nav-inner {
    /* Figma header row 698:217 ≈ 46.5px; keep a touch of breathing room */
    height: 56px;
    min-height: 56px;
    padding: 0;
    gap: 10px;
  }
  .pub-logo {
    font-size: 1.2rem;
  }
  .pub-logo img {
    width: 20px;
  }
  .pub-nav-mobile-cta {
    gap: 13px; /* Figma Frame 5152 gap ≈ 13.4px */
  }
  .pub-nav-mobile-cta .btn-nav-login {
    height: 46px;
    min-width: 77px;
    padding: 0 18px;
    font-size: 0.8rem;
  }
  .pub-nav-toggle {
    width: 46px;
    height: 46px;
    border: none;
  }

  .pub-eyebrow {
    min-height: 32px;
    padding: 6px 14px;
    font-size: 0.75rem;
    gap: 6px;
  }
  .pub-eyebrow i {
    font-size: 0.9rem;
  }

  /* Figma: header bottom (~124.5) → badge (215) ≈ 90px gap */
  .pub-hero {
    padding: 90px 0 0;
  }
  /* Title 30.883px; badge→title ≈ 9px, title→sub ≈ 6px */
  .pub-hero-title {
    font-size: clamp(1.85rem, 7.9vw, 1.93rem);
    line-height: 1.15;
    margin: 10px auto 6px;
    max-width: 100%;
    padding: 0 2px;
    overflow-wrap: normal;
    word-break: normal;
  }
  /* Sub→CTAs ≈ 11px */
  .pub-hero-sub {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 auto 12px;
    max-width: 100%;
    padding: 0 2px;
  }
  /* Figma Frame 382: 36.4px CTAs, 10.5px gap; CTAs→image ≈ 19px */
  .pub-hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .pub-hero-actions .btn {
    width: auto;
    flex: 0 1 auto;
  }
  .pub-hero-actions .btn-hero-cta {
    height: 38px;
    padding: 0 14px;
    font-size: 0.78rem;
    border-radius: 999px;
  }
  .pub-hero-actions .btn-demo {
    height: 38px;
    padding: 0 14px;
    font-size: 0.78rem;
    border-radius: 999px;
  }
  /* Full uncropped Dashboard.png — no overflow clip / cover crop */
  .pub-hero-stage {
    overflow: visible;
    margin: 0 auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    filter: none;
    background: var(--pub-bg);
  }
  .pub-hero-media,
  .pub-hero.is-ready .pub-hero-media {
    width: 100%;
    max-width: 100%;
    padding: 0;
    transform: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
    filter: none;
    background: var(--pub-bg);
  }
  .pub-hero-media picture {
    display: block;
    width: 100%;
    overflow: visible;
    aspect-ratio: 640 / 489;
  }
  .pub-hero-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center top;
    border: 0;
    box-shadow: none;
    filter: none;
    background: transparent;
  }
  /*
   * Hero → VALUE seam (mobile): kill hard edge sources.
   * Figma 716:1318 = soft fade; 716:1319 = solid #f3f6f8 cover over mockup bottom
   * (covers phone bottom shadow so it cannot read as a section border).
   * ::before green oval also read as a shadow line — hide on mobile.
   */
  .pub-hero-media::before {
    display: none;
  }
  .pub-hero-media::after {
    content: "";
    display: block;
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -1px;
    height: 46%;
    z-index: 3;
    pointer-events: none;
    border: 0;
    box-shadow: none;
    /* Soft → fully opaque cover (no mid-stop that composites as a hairline) */
    background: linear-gradient(
      to bottom,
      rgba(243, 246, 248, 0) 0%,
      rgba(243, 246, 248, 0.45) 28%,
      rgba(243, 246, 248, 0.92) 52%,
      #f3f6f8 68%,
      #f3f6f8 100%
    );
  }
  .pub-hero-media img {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pub-hero .pub-blob-green,
  .pub-hero .pub-blob-blue {
    width: 220px;
    height: 140px;
    opacity: 0.28;
  }

  /*
   * Section rhythm vs Figma 698:216 (440 → ~390):
   * tools top ≈ 36–40px after faded hero; badge→title 12; title→sub 16; sub→panel 26
   * tools→features ≈ 96; feature row gaps ≈ 36–50; access→why ≈ 96; why→CTA ≈ 46; CTA→footer ≈ 64
   */
  .pub-section {
    padding: 48px 0;
    border: 0;
    box-shadow: none;
  }
  /* Hero→tools: shared #f3f6f8; VALUE sits in solid cover zone like Figma y≈840 */
  #tools.pub-section {
    padding: 32px 0 56px;
    margin-top: -56px;
    border-top: 0;
    box-shadow: none;
    background: var(--pub-bg);
    position: relative;
    z-index: 4;
  }
  .pub-section-tight {
    padding: 40px 0 56px;
  }
  .pub-section-head {
    margin-bottom: 26px;
  }
  .pub-section-head .pub-eyebrow {
    margin-bottom: 12px;
  }
  /* Live mobile: green lightning + green VALUE label (not black from older Figma note) */
  #tools .pub-eyebrow {
    color: var(--pub-green-mid);
  }
  #tools .pub-eyebrow i {
    color: var(--pub-green);
  }
  .pub-section-head h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.85rem);
    margin-bottom: 16px;
  }
  .pub-section-head p {
    font-size: 0.95rem;
  }

  /* Tools panel — Figma stacked tabs + media */
  .tools-panel {
    border-radius: 28px;
    padding: 14px;
    gap: 12px;
    align-items: stretch;
  }
  .feature-mini-grid {
    gap: 8px;
    flex: none;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
  }
  .feature-mini-card {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 20px;
    min-height: auto;
    height: auto;
  }
  .feature-mini-icon {
    width: 24px;
    height: 24px;
    font-size: 1.15rem;
    margin-top: 0;
  }
  .feature-mini-card h3 {
    font-size: 1.125rem;
    line-height: 1.2;
  }
  .feature-mini-card p {
    margin-top: 6px;
    font-size: 0.875rem;
  }
  .tools-panel-media {
    aspect-ratio: 356 / 347;
    border-radius: 22px;
    background: #f6f6f6;
    flex: none;
    width: 100%;
  }
  .tools-panel-media img {
    object-fit: contain;
    object-position: center center;
    padding: 12px;
  }

  /* Feature rows — text → media, 404×411; Figma inter-row ≈ 36–50px */
  .feature-row {
    gap: 22px;
    padding: 32px 0;
  }
  .feature-row + .feature-row {
    padding-top: 48px;
  }
  .feature-row.feature-row--access,
  .feature-row:has(.feature-row-media--access) {
    padding: 32px 0 64px;
  }
  .feature-row-content h3 {
    font-size: clamp(1.4rem, 5.8vw, 1.7rem);
    margin-bottom: 10px;
  }
  .feature-row-content > p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    max-width: none;
  }
  .feature-pill-list {
    gap: 8px;
    margin-bottom: 20px;
  }
  .feature-pill-list li {
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 999px;
  }
  .feature-row-content .btn-primary {
    height: 48px;
    padding: 0 22px;
    font-size: 0.9rem;
  }
  .feature-media--framed,
  .feature-slider--framed {
    --feat-frame-pad-x: 12px;
    --feat-frame-pad-top: 12px;
    --feat-frame-pad-bot: 36px;
    max-width: 100%;
    width: 100%;
    border-radius: 28px;
    aspect-ratio: 404 / 411;
  }
  .feature-slider--framed .feature-slider-track,
  .feature-media--framed .feature-media-inner {
    border-radius: 14px;
  }
  .feature-slider--framed .feature-slider-track img,
  .feature-media--framed .feature-media-inner img {
    object-fit: contain;
    object-position: center center;
  }
  .feature-slider--framed .feature-slider-dots {
    bottom: 12px;
  }
  .feature-row-media.feature-row-media--access,
  .feature-access-shadow,
  .feature-access-card {
    max-width: min(100%, 330px);
    margin-inline: auto;
  }
  .feature-access-card {
    aspect-ratio: 584 / 538;
    border-radius: 28px;
  }
  .feature-access-card img {
    border-radius: 28px;
  }
  .feature-access-shadow {
    border-radius: 28px;
  }

  /* Why — Figma title→cards ≈ 32px; card stack gap ≈ 28px; section top ≈ 96px after access */
  .why-section.pub-section {
    padding: 56px 0 48px;
  }
  .why-section .pub-section-head {
    margin-bottom: 32px;
  }
  .why-section .pub-section-head h2 {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
    letter-spacing: -0.02em;
  }
  .why-grid {
    gap: 28px;
  }
  .why-card {
    min-height: 240px;
    border-radius: 28px;
    box-shadow:
      4px 6px 18px rgba(0, 0, 0, 0.04),
      16px 14px 32px rgba(0, 0, 0, 0.03);
  }
  .why-card--dash {
    min-height: 283px;
  }
  .why-card-caption {
    font-size: 0.95rem;
    left: 20px;
    bottom: 18px;
    right: 20px;
  }
  .why-card--dash .why-card-caption {
    right: auto;
  }
  .why-icon-grid {
    grid-template-columns: repeat(5, 40px);
    grid-template-rows: repeat(2, 40px);
    gap: 10px 12px;
  }
  .why-icon {
    width: 40px;
    height: 40px;
  }
  .why-icon img {
    width: 20px;
    height: 20px;
  }
  .why-glow {
    width: 78px;
    height: 78px;
  }
  .why-glow img {
    width: 36px;
    height: 36px;
  }

  /* CTA — Figma 7562 after why (~46px); footer gap handled via bottom pad */
  .pub-section--cta {
    padding: 40px 0 56px;
    background: var(--pub-bg);
  }
  .pub-cta,
  .newsletter-box {
    padding: 40px 20px;
    border-radius: 28px;
  }
  .pub-cta h2 {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
  }
  .pub-cta p {
    margin-bottom: 28px;
    font-size: 0.95rem;
  }
  .pub-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pub-cta-actions .btn {
    width: 100%;
  }
  .pub-cta .btn-hero-cta {
    height: 52px;
    font-size: 0.95rem;
  }

  .pub-footer {
    padding: 18px 0;
    margin-top: 0;
  }
  .pub-footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .pub-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }

  /* Newsletter CTA — stack email + Subscribe (Figma mobile / user SS) */
  .newsletter-form {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
  }
  .newsletter-form input {
    flex: none;
    width: 100%;
    min-width: 0;
    height: 48px;
    box-sizing: border-box;
  }
  .newsletter-form .btn {
    flex: none;
    width: 100%;
    min-width: 0;
    height: 48px;
    box-sizing: border-box;
  }
  .newsletter-fine {
    margin-top: 4px;
    padding-top: 8px;
  }
  .improvement-row { flex-direction: column; }

  .page-news .news-hero {
    padding: 40px 0 24px;
    min-height: 0;
  }
  /* Mobile: hide secondary CTA; center Explore Updates */
  .page-news .news-hero .pub-hero-actions {
    justify-content: center;
  }
  .page-news .news-hero .pub-hero-actions .btn-demo {
    display: none;
  }
  .page-news .news-hero .pub-hero-actions .btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 100%;
    max-width: 320px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
  }
  /* Hero primary CTA glow — match Login’s contained soft glow on small screens */
  .pub-hero-actions .btn-primary.btn-glow,
  .pub-hero-actions .btn-hero-cta.btn-glow,
  .page-news .news-hero .pub-hero-actions .btn-hero-cta {
    box-shadow: var(--pub-glow-mobile);
  }
  .pub-hero-actions .btn-primary.btn-glow:hover,
  .pub-hero-actions .btn-hero-cta.btn-glow:hover,
  .page-news .news-hero .pub-hero-actions .btn-hero-cta:hover {
    box-shadow:
      0 10px 22px rgba(0, 229, 141, 0.3),
      0 5px 10px rgba(0, 229, 141, 0.2),
      0 2px 5px rgba(0, 229, 141, 0.16);
  }
  .news-float-stage {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 2;
  }
  .news-float {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(100%, 320px);
  }
  .news-float-update { width: min(100%, 220px); }
  .news-articles-head { margin-bottom: 28px; }
  .news-articles-head h2 { font-size: 1.5rem; }
  .newsletter-box {
    padding: 48px 20px;
    border-radius: 28px;
  }
  .newsletter-box h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }
  .news-newsletter-section {
    padding-bottom: 64px;
  }
  .page-pricing .compare-table { min-width: 560px; }
  .page-pricing .pricing-cta-box {
    padding: 48px 20px;
  }
  .page-pricing .btn-pricing-trial,
  .page-pricing .btn-pricing-expert {
    min-height: 56px;
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 340px;
  }
  .page-pricing .pricing-cta-actions {
    flex-direction: column;
    gap: 16px;
    padding-top: 28px;
  }
  /* Mobile: hide secondary CTA; center Let's Start! */
  .page-pricing .pricing-hero .pub-hero-actions {
    justify-content: center;
    margin-bottom: 36px;
  }
  .page-pricing .pricing-hero .pub-hero-actions .btn-demo {
    display: none;
  }
  .page-pricing .pricing-hero .pub-hero-actions .btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 100%;
    max-width: 320px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
  }
  .page-pricing .pricing-toggle {
    margin-bottom: 36px;
  }
}

/* Extra-tight phones (~390) — keep Figma gutters / type readable */
@media (max-width: 400px) {
  .pub-container {
    padding: 0 16px; /* ~18px Figma gutter scaled from 440 → 390 */
  }
  .pub-hero {
    padding-top: 80px; /* Figma ~90px header→badge; ~80px when scaled to 390 */
  }
  .pub-hero-title {
    font-size: 1.85rem; /* ~29.6px — close to Figma 30.9px */
  }
  .pub-hero-actions .btn-hero-cta,
  .pub-hero-actions .btn-demo {
    height: 36px;
    padding: 0 12px;
    font-size: 0.72rem;
  }
  .feature-mini-card {
    padding: 12px 14px;
  }
}

/* ============================================================
   MOTION — hero entrance, scroll reveals, soft hovers
   ============================================================ */
.pub-hero .pub-eyebrow,
.pub-hero .pub-hero-title,
.pub-hero .pub-hero-sub,
.pub-hero .pub-hero-actions,
.pub-hero .pub-hero-stage {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--pub-ease),
    transform 0.7s var(--pub-ease);
}
.pub-hero.is-ready .pub-eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.pub-hero.is-ready .pub-hero-title {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}
.pub-hero.is-ready .pub-hero-sub {
  opacity: 1;
  transform: none;
  transition-delay: 0.24s;
}
.pub-hero.is-ready .pub-hero-actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.34s;
}
.pub-hero.is-ready .pub-hero-stage {
  opacity: 1;
  transform: none;
  transition-delay: 0.46s;
  transition-duration: 0.9s;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--pub-ease),
    transform 0.65s var(--pub-ease);
  /* Do not set will-change here — compositor layers clip descendant box-shadows */
}
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  /* Drop compositor layer so descendant box-shadows are not clipped */
  will-change: auto;
}
.page-pricing .pricing-card.featured[data-reveal].is-revealed {
  transform: none;
}

.feature-mini-card {
  transition: background 0.25s var(--pub-ease);
}
.feature-mini-card:hover {
  transform: none;
  background: #f7f7f7;
  box-shadow: none;
  border-color: transparent;
}
.feature-mini-card.is-active:hover {
  background: #fafafa;
}

.improvement-row {
  transition:
    transform 0.25s var(--pub-ease),
    box-shadow 0.25s var(--pub-ease),
    border-color 0.2s ease;
}
.improvement-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 102, 78, 0.08);
  border-color: rgba(1, 220, 128, 0.3);
}

.pub-cta-wrap,
.newsletter-box {
  transition: box-shadow 0.3s var(--pub-ease), transform 0.3s var(--pub-ease);
}
.pub-cta:hover {
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.045),
    0 14px 32px rgba(0, 0, 0, 0.05),
    0 28px 56px rgba(0, 0, 0, 0.06),
    0 48px 80px rgba(0, 0, 0, 0.045);
}
.newsletter-box:hover {
  box-shadow: 0 20px 48px rgba(0, 102, 78, 0.28);
}

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

  .pub-hero .pub-eyebrow,
  .pub-hero .pub-hero-title,
  .pub-hero .pub-hero-sub,
  .pub-hero .pub-hero-actions,
  .pub-hero .pub-hero-stage,
  .pub-hero .pub-hero-media,
  [data-reveal],
  .btn,
  .why-card,
  .blog-card,
  .blog-card-media img,
  .pricing-card,
  .page-pricing .pricing-card,
  .feature-mini-card,
  .improvement-row,
  .pub-cta-wrap,
  .pub-cta,
  .newsletter-box {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Mobile perf: cheaper paints (blur is costly on mid-tier GPUs) */
@media (max-width: 720px) {
  .pub-blob {
    filter: blur(40px);
    opacity: 0.28;
  }
  .feature-media--fade-bottom .feature-media-inner::after,
  .feature-slider--fade-bottom .feature-slider-track::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .pub-hero-media::before {
    filter: blur(16px);
  }
}

